package com.xdf.xzymanagementsystem.service;

import com.xdf.xzymanagementsystem.entity.BillType;
import com.xdf.xzymanagementsystem.enums.StorageEnum;
import com.xdf.xzymanagementsystem.util.Example;

import java.util.List;

/**
 * @Description : 业务层接口,该类为生成器自动生成.
 * @Author : 张柯
 * @Date : 2021-01-27 12:44:45
 */
public interface BillTypeService {
    int insert(BillType record) throws Exception;

    int insertSelective(BillType record) throws Exception;

    int multiInsert(List<BillType> list) throws Exception;

    int updateByPrimaryKey(BillType record) throws Exception;

    int updateByPrimaryKeySelective(BillType record) throws Exception;

    int update(BillType record) throws Exception;

    int multiUpdate(List<BillType> list) throws Exception;

    BillType selectByPrimaryKey(String id) throws Exception;

    BillType getBillType4ProductOrderBill(int accessMode) throws Exception;

    int deleteByPrimaryKey(String id) throws Exception;

    List<BillType> listQuery(BillType record) throws Exception;

    List<BillType> listQuery(Example example) throws Exception;

    Long count(Example example);

    List<BillType> getBillType(StorageEnum storageType, int accessMode) throws Exception;

    List<BillType> getBillType(String storageType, int accessMode, Boolean allowManual) throws Exception;

    List<BillType> getBillTypeManual(String storageType, Integer manual) throws Exception;
    List<BillType> getBillTypeMaterial() throws Exception;
}